JMPutSessionProperty
Adds or modifies a session property.
OSStatus JMPutSessionProperty ( JMSessionRef session, const JMTextRef propertyName, const JMTextRef propertyValue);
session
- The session whose property you wish to set.
propertyName
- A text object holding the name of the property whose value you want to add or modify.
propertyValue
- The value to set for
propertyName
, as aJMTextRef
object.- function result
- A result code; see "JManager Result Codes".
DISCUSSION
If the property does not exist, JManager creates a new one with the name inpropertyName
and the value inpropertyValue
. This function corresponds to the Java methodjava.lang.System.setProperty
.SEE ALSO
TheJMGetSessionProperty
function.